import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from './api/AxiosConfig.js'
import vueAxios from 'vue-axios'
import 'video.js/dist/video-js.css'
import 'vue3-video-play/dist/style.css'
import vue3VideoPlay from 'vue3-video-play'

axios.defaults.baseURL = 'http://localhost:8080/'

axios.defaults.headers.post['Content-Type'] = 'application/json;charset=UTF-8'

createApp(App).use(store).use(router).use(vueAxios, axios).use(vue3VideoPlay).mount('#app')
// app.config.globalProperties.$axios = axios
